<?php
/**
* @package RecruitmentManager
* @version 1.5.2 Stable Update 1, August 2009
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

global $RecruitmentManagerVersion;
$RecruitmentManagerVersion = '1.5.2 Stable Update 1';

// Load the html class, so we can use anything that it provides!
require_once( JApplicationHelper::getPath( 'html' ) ); 

$task 	= JRequest::getVar('task', '' ,"REQUEST");

switch ($task) {
  case 'search':
    RecruitmentManagerHTML::mydefault();
    break;
  case 'jobinsert':
    RecruitmentManagerHTML::jobinsert();
    break;
  case 'jobslist':
    RecruitmentManagerHTML::jobslist();
    break;
  case 'statusamend':
    RecruitmentManagerHTML::jobslist();
    break;
  case 'mydetails':
    RecruitmentManagerHTML::mydetails();
    break;
  case 'myclientdetails':
    RecruitmentManagerHTML::myclientdetails();
    break;
  case 'display':
    RecruitmentManagerHTML::display();
    break;
  case 'canddisplay':
    RecruitmentManagerHTML::canddisplay();
    break;
  case 'candsearch':
    RecruitmentManagerHTML::candsearch();
    break;
  case 'clientdisplay':
    RecruitmentManagerHTML::clientdisplay();
    break;
  case 'apply':
    RecruitmentManagerHTML::apply();
    break;

  default:
	RecruitmentManagerHTML::mydefault();
	break;
}

?>
